
module.exports = app => {
    const { router, controller } = app;
    // 帖子模块CRUD资源路由配置
    router.resources('posts', '/api/posts', controller.posts);
};
